import { baseService } from '@/request';

export function getYjList<T>(params?: T) {
  return baseService({
    url: 'warning/getEnterprisesTopData',
    method: 'get',
    params,
  });
}
export function getMarker<T>(params?: T) {
  return baseService({
    url: 'warning/getWarningEnterpriseInfo',
    method: 'get',
    params,
  });
}

export function getRankList<T>(params?: T) {
  return baseService({
    url: 'warning/getEnterprisesInfoTop5',
    method: 'get',
    params,
  });
}
